<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1" />
		<title></title>


		<style>
			.box {
				width: 100px;
				height: 150px;
				border: 1px solid #444;
				/* background-color: aliceblue; */
			}


			@media (max-device-width:199px) {

				.box {
					background-color: rgb(0, 0, 0);

				}

			}


			@media (min-device-width:200px) and (max-device-width:300px) {

				.box {
					background-color: rgb(88, 0, 0);

				}

			}


			@media (min-device-width:301px) and (max-device-width:400px) {

				.box {
					background-color: rgb(128, 0, 0);

				}

			}

			@media (min-device-width:401px) and (max-device-width:600px) {
				.box {
					background-color: rgb(168, 0, 0);

				}

			}


			@media (min-device-width:601px) {
				.box {
					background-color: rgb(255, 0, 0);

				}

			}
		</style>
	</head>
	<body>


		<div class="box">

		</div>
	</body>
</html>
